package com.owner.entity;



/**
 * 用户表
 * @author nilin
 *
 */
public class User {
	private int id;				//用户id
	private String phone;		//电话
	private String nickName;	//昵称名字
	private String password;	//密码
	private  String email;		//邮箱
	private Role role;      	//用户类型 1.业主 2.物管  3.总后台
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}

}
